#-*- coding: UTF-8 -*-

from models import Logs
from factorywork import sqlcommit
    
"""
操作日志
"""

        
def commitLogs(logstypenum,logcontent):
    '''
    往logs表插日志
    param:
    logstypenum:日志分类编号
    logcontent: 日志内容
    '''

    sqlcommit(Logs(logstypenum,logcontent))
    
